﻿#region Using Statements
using Microsoft.Xna.Framework;
#endregion

namespace GameBase.Particles
{
    /// <summary>
    /// Definition of 2D particle data.
    /// </summary>
    internal class Particle2D
    {
        #region Particles

        /// <summary>
        /// Gets or sets the moment in time at which the particle was created.
        /// </summary>
        public float TimeStamp { get; set; }

        #endregion

        #region Position, Velocity, Rotation

        /// <summary>
        /// Gets or sets the starting position of the particle.
        /// </summary>
        public Vector2 Position { get; set; }

        /// <summary>
        /// Gets or sets the starting velocity of the particle.
        /// </summary>
        public Vector2 Velocity { get; set; }

        /// <summary>
        /// Gets or sets the ending rotation angle of the particle.
        /// </summary>
        public float Rotation { get; set; }

        #endregion

        #region Color, Size

        /// <summary>
        /// Gets or sets the color of the particle.
        /// </summary>
        public Color Color { get; set; }

        /// <summary>
        /// Gets or sets the starting size of the particle.
        /// </summary>
        public float StartSize { get; set; }

        /// <summary>
        /// Gets or sets the ending size of the particle.
        /// </summary>
        public float EndSize { get; set; }

        #endregion
    }
}
